import { ApiClient, DefaultApi } from "poetry";

const client = new ApiClient();
client.basePath = window.location.origin;
client.authentications = {
  oauth2: {
    type: 'oauth2',
    accessToken: '',
  }
}

const api = new DefaultApi(client);

export default api;
export { client };